package com.party.core.service.partner;

import com.party.core.model.partner.MemberPartnerPrivilege;
import com.party.core.service.IBaseService;

import java.util.List;
import java.util.Map;

/**
 * 合作商权限
 *
 * @author yifeng
 * @date 2018/8/7 0007
 * @time 下午 13:52
 */
public interface IMemberPartnerPrivilegeService extends IBaseService<MemberPartnerPrivilege> {
    List<Map<String, String>> findByPartnerId(String partnerId);

    List<Map<String, String>> findByMemberId(String initiatorId);

    void deleteByPartnerId(String partnerId);

    void deleteByMemberId(String memberId);
}
